package com.doublethread.easymart.modules.order.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 订单备注DTO
 */
@Data
public class OrderRemarkDTO {

    /**
     * 订单备注
     */
    @NotBlank(message = "订单备注不能为空")
    @Size(max = 300, message = "订单备注长度不能超过300字符")
    private String remark;
}
